-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
download aritfact from latest run which upload an artifact #88
Conversation
I'm gonna wait till this PR is merged: #90 Then I'll look at this one. |
Solution you provided increases the number of API calls per execution and that number can be high in some cases. I'm not really convinced. |
Yes, you're right.But apparently Github doesn't provide a better way to make it.What if I add a toggle on this feature? # Optional, will get the last available artifact from previous workflow, default false, just try to download from the last one
(can you decide the name): false |
Yes, a feature flag would be nice. |
Sorry for late reply and thanks for your reminder. I'll set aside some time next week to finish this PR. |
I have fetched upstream and rebased the latest changes. I saw you have optimized the loop of |
Nice. Thanks |
* Add pagination when listing all artifacts (dawidd6#90) Co-authored-by: Nick DeGroot <1966472+nickthegroot@users.noreply.github.com> * main: remove ';' * README: fix * main: throw if no runID * action: only success * README: update * workflows: test empty conclusion * Fix octokit returning weird results from listWorkflowRuns (dawidd6#95) Closes: dawidd6#93 Co-authored-by: Dawid Dziurla <dawidd0811@gmail.com> * README: remove stray dot * download aritfact from latest run which upload an artifact (dawidd6#88) Co-authored-by: Nick DeGroot <nbdegroot1@gmail.com> Co-authored-by: Nick DeGroot <1966472+nickthegroot@users.noreply.github.com> Co-authored-by: Dawid Dziurla <dawidd0811@gmail.com> Co-authored-by: Dirk <dirks@seatfrog.com> Co-authored-by: Tailong <54169577+shitlsh@users.noreply.github.com>
Hi, I have the same problem with this issue:#46.
Seeing as words is difficult to elaborate the problem, I try to submit this PR to see if you can understand what we want.
Cause I'm not familiar with the Github Action API, the code change maybe not correct.
There are something I want to explain:
per_page
to10
, because I find thatasyncFind
will request with each run_id